function baz(arg0: () => object) {
  return arg0;
}

export class Bar {
  public a: number;

  public constructor() {
    this.a = 0;
    baz(() => this);
  }
}